<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>spdif: xspdif.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">spdif
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xspdif_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xspdif.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gae87580b959a0579a9af0c02345037704"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae87580b959a0579a9af0c02345037704">XSPDIF_SOFT_RESET_REGISTER_VALUE</a>&#160;&#160;&#160;0X0A</td></tr>
<tr class="memdesc:gae87580b959a0579a9af0c02345037704"><td class="mdescLeft">&#160;</td><td class="mdescRight">Soft Reset Register value to reset.  <a href="group__spdif.html#gae87580b959a0579a9af0c02345037704">More...</a><br/></td></tr>
<tr class="separator:gae87580b959a0579a9af0c02345037704"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga0fd1a9a8dba71df82291f9d0307366a3">XSpdif_CfgInitialize</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, <a class="el" href="struct_x_spdif___config.html">XSpdif_Config</a> *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.  <a href="group__spdif.html#ga0fd1a9a8dba71df82291f9d0307366a3">More...</a><br/></td></tr>
<tr class="separator:ga0fd1a9a8dba71df82291f9d0307366a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c7b903ef4c7052aa0f3b11350946594"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">XSpdif_Enable</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 Enable)</td></tr>
<tr class="memdesc:ga1c7b903ef4c7052aa0f3b11350946594"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables/disables the <a class="el" href="struct_x_spdif.html" title="The XSpdif driver instance data. ">XSpdif</a>.  <a href="group__spdif.html#ga1c7b903ef4c7052aa0f3b11350946594">More...</a><br/></td></tr>
<tr class="separator:ga1c7b903ef4c7052aa0f3b11350946594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae803b59eab34cf53ffcfb147b367f88f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">XSpdif_SoftReset</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae803b59eab34cf53ffcfb147b367f88f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to soft reset the interrupt registers.  <a href="group__spdif.html#gae803b59eab34cf53ffcfb147b367f88f">More...</a><br/></td></tr>
<tr class="separator:gae803b59eab34cf53ffcfb147b367f88f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe3f017617a1beda897955974c20fc9d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">XSpdif_ResetFifo</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr)</td></tr>
<tr class="memdesc:gabe3f017617a1beda897955974c20fc9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the Fifo.  <a href="group__spdif.html#gabe3f017617a1beda897955974c20fc9d">More...</a><br/></td></tr>
<tr class="separator:gabe3f017617a1beda897955974c20fc9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">XSpdif_SetClkConfig</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 Clk_DivNum)</td></tr>
<tr class="memdesc:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the clock configuration bits.  <a href="group__spdif.html#ga663de6a5b3129b9af53363b95ddd1c8c">More...</a><br/></td></tr>
<tr class="separator:ga663de6a5b3129b9af53363b95ddd1c8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">XSpdif_GetFs</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u32 AudClk)</td></tr>
<tr class="memdesc:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the Sampling Frequency (Fs) and returns it's value.  <a href="group__spdif.html#gaf65b0871fbd61f85bff84b47ab5fc397">More...</a><br/></td></tr>
<tr class="separator:gaf65b0871fbd61f85bff84b47ab5fc397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6cc58a923df8991119d2ae9d894b5225"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga6cc58a923df8991119d2ae9d894b5225">XSpdif_Rx_GetChStat</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChStatBuf)</td></tr>
<tr class="memdesc:ga6cc58a923df8991119d2ae9d894b5225"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads all the Channel Status registers and writes to a buffer.  <a href="group__spdif.html#ga6cc58a923df8991119d2ae9d894b5225">More...</a><br/></td></tr>
<tr class="separator:ga6cc58a923df8991119d2ae9d894b5225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab42041ee833dc5963d3d87f83bb05197"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#gab42041ee833dc5963d3d87f83bb05197">XSpdif_Rx_GetChA_UserData</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChA_UserDataBuf)</td></tr>
<tr class="memdesc:gab42041ee833dc5963d3d87f83bb05197"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the Channel A user data and writes to a buffer.  <a href="group__spdif.html#gab42041ee833dc5963d3d87f83bb05197">More...</a><br/></td></tr>
<tr class="separator:gab42041ee833dc5963d3d87f83bb05197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga838302566560f7a0aeae1f154b2b615f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__spdif.html#ga838302566560f7a0aeae1f154b2b615f">XSpdif_Rx_GetChB_UserData</a> (<a class="el" href="struct_x_spdif.html">XSpdif</a> *InstancePtr, u8 *ChB_UserDataBuf)</td></tr>
<tr class="memdesc:ga838302566560f7a0aeae1f154b2b615f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads the Channel B user data and writes to a buffer.  <a href="group__spdif.html#ga838302566560f7a0aeae1f154b2b615f">More...</a><br/></td></tr>
<tr class="separator:ga838302566560f7a0aeae1f154b2b615f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
